#include "CONFIG.H"
#include "NVIC.H"
#include "SWITCH.H"
#include "GPIO.H"
#include "DELAY.H"
#include "USB.H"
#include "usb_req_class.h"
#include "KEYBOARD.H"

void USER_CALL_DOWN(u8 row,u8 col){
	u8 key[8] = {0};
	key[2] = 0x1A;
	usb_my_keyboard(key);
}

void USER_CALL_UP(u8 row,u8 col){
	u8 key[8] = {0};
	usb_my_keyboard(key);
}

void main(){
	EAXSFR();
	
	usb_init();
	KEYBOARD_init();
	
	EA = 1;
	while(1){
		KEYBOARD_scan();
		
		delay_ms(10);
	}
}